package com.study.manage.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "sa_vote_question")
public class VoteQuestion extends AbstractEntity {

    private static final long serialVersionUID = 5535409481110171726L;

    public Long voteId;

    public String name;

    @Column(columnDefinition = "tinyint", name = "typee")
    public Integer type;// 0单选 1多选

    public Integer squen;

    public VoteQuestion() {}

    public VoteQuestion(Long id) {
        this.id = id;
    }
}
